//
//  GLRotationAnimation.h
//  Texture
//
//  Created by Yao Melo on 3/2/13.
//
//

#ifndef __Texture__GLRotationAnimation__
#define __Texture__GLRotationAnimation__

#include <iostream>
#include "GLAnimation.h"
class GLRotationAnimation:public GLAnimation
{
private:
    float _startAngle;
    float _endAngle;
    Vec3 _axis;
protected:
    void GetTransformTemplate(MATRIX& mOut,double timestamp);
public:
    GLRotationAnimation(double duration,Vec3 axis,float startAngle, float endAngle);
    ~GLRotationAnimation();
};

#endif /* defined(__Texture__GLRotationAnimation__) */
